
*Note: This do file inputs a state level panel of agency existence and creates Figure 2. The Excel file "Agency_Formation_Years.xlxs" provides the year of agency formation for each state.

clear
use "D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\Agency_Formation_Years.dta"

collapse (sum) wildlife-eq, by(year)

twoway (line fish year, sort) (line wildlife year, sort lpattern(dash)) (line forests year, sort lpattern(dot)) (line parks year, sort lpattern(longdash)) (line wtq year, sort lpattern(tight_dot)) (line airq year, sort lpattern(dash_dot)), xtitle("") legend(order(1 "Fish" 2 "Wildlife" 3 "Forests" 4 "Parks" 5 "Water Quality" 6  "Air Quality"))

graph save "Graph" "D:\Dropbox\Dropbox\Lueck and Parker\JAERE submission\Final Version 2024\Data and Code for Replication\Log Files\Figure 2.gph", replace
